<?php

use Biz\service\Tiles;
/**
 * @deprecated
 */
class TopupOptionsAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REALNAME;

    public function main()
    {
        $courseId = $this->getRequest()->getQuery('course_id');
        $data = Tiles::getTopupOptions($this->uid, $courseId);
        $this->setSuccess($data);
    }
}